Added actions to modals