btn must be first defined; disable button when submission in progress