 '<div class="custom-layer">Hello World!</div>'
        }

        // Create popup.
        var $popup = editor.popups.create('customPlugin.popup', template)

        return $popup
      }

      // Show the popup
      function showPopup() {
        // Get the popup object defined above.
        var $popup = editor.popups.get('customPlugin.popup')

        // If popup doesn't exist then create it.
        // To improve performance it is best to create the popup when it is first needed
        // and not wh