Handle menu state change when there is no currentDocument
emit individual events