Fix NPE when IDEA is closing and the action is invoked for the unsaved file
Merge pull request #996 from dlsniper/fix-npe-disposal

Fix NPE when IDEA is closing and the action is invoked for the unsaved file