check if correct dialog is still open