warns changes which are saved when user tries to close a session
changes the wording for discarding changes