using contextual actions in modals