trigger shutdown for webodf on close-button