open at most once dialog at a time