Added Popups & reset functionality