What to do when a Query is open, a History entry is Open, the user save a new query, the user Save an existing query