restart level and player death added

after you complete the level a dialog box shows up where you can choose
to either restart the level or go to main menu. The same happens when
you die.