#4308 Stop edit routine form being submitted with enter

Signed-off-by: Umair Khan <omerjerk@gmail.com>