adds action buttons
broken: splitted templates