don't open new tab when open dialog is canceled