Modifying contextual actions