fixed duplicate windows, added dialogs to ask if user wants to select a
time to check for availability