Added alert
Prevented form from submiting