remove mouse listener in dialog because the wizard is started twice