fixed bug with missing flash. namespaced the submit event