Add ability to close options tab with warning message.

tasellielund
addresser
Merge branch 'CloseEmailTab' of https://github.com/pelferina/wpi-suite into dev