warn if someone wants to close the UI when the showfile is not saved
warn if someone wants to close the UI when the showfile is not saved