Fix for cellcounter/cellcounter#194. Closes any open dialog boxes prior to opening new one.
Merge pull request #212 from jvc26/cellcounter/cellcounter#194

Fix for cellcounter/cellcounter#194