how does the submission buttom work