last button of simulation: popup: are you sure you want to finish. If yes, finish functionality