Added caption editing functionality.  Layout isn't perfect though.  It would be nice to have the caption textarea resize automatically with content.