docs: def checkForSave( self ):
          """
          Checks to see if the current document has been modified and should \
          be saved.
          
          :return     <bool>
          """
          # if the file is not modified, then save is not needed
          if ( not self.isModified() ):
              return True
          
          options     = QMessageBox.Yes | QMessageBox.No | QMessageBox.Cancel
          question    = 'Would you like to save your changes to %s?' % \
                                              self.windowTitle()
                                              
          answer      = QMessageBox.question( None, 
                                              'Save Changes', 
                                              question, 
                                              options )
          
          if ( answer == QMessageBox.Yes ):
              return self.save()
          elif ( answer == QMessageBox.Cancel ):
              return False
          return True