Creating a fake button and delegating form submit to it.