remove empty focus inputs before options form submit