LUN-1466: avoid multiple form submission when user clicks submit multiple times