updated exit dialog