Adding isset for content, action and id and minor changes -refs #6695