Mocks default action if default one is prevented.