add selection in whether wait for submit