Fixed the Submit only behavior.