Implemended empty handlers for menu actions and exit handler with confirmation dialog