LPS-35843 Executes callback method on _openWindowProvider
LPS-35843 Use EventHandle pattern for multiple detach

 - For more information, see /html/js/liferay/dockbar_add_content_preview.js:50