node-webkit: disable view plot after save for pdf export