dialog.open state before show(): false
dialog.open state after show(): true
