Wrap main actions in add/edit template in a block