Adding data-action to modal template