redo window alert and add auto reload for it