adding exit button to popup teacher menu