Added function removing timer from view, added closing confirmation dialog.