def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def exit_submission(self):
        "Close the submission and return to the subreddit page"

        self.active = False