showing "no wiki entry selected" if no template is selected or after a
template is deleted
bugfix