added option 'Quit and discard session'