recognize also buttons from type submit