Click titlebar button to open dialog instead of press enter