Added the dialog to double-clicks