only show the "New" action item on index pages

closes #894
code style update
redirect_to :back on comment creation

fixes #2269