ControlDialog.connect method
function createExplorerView
move createExplorerView to outer scope
include dimension parameters in createExplorerView