I have two frames and when I click login button in 1st frame second frame opens. After closing 2nd frame if I click first frame button again it overwrites the old 2nd frame. I cannot use exit_on_close as I dont want to stop the execution. I also tried with hide_on_close and dispose_on_close. None of it worked. Can any body tell me how to create new frame on clicking the button every time.