Adding submit action