add/edit exam process

added confirmation and clearing for add exam