basic submit directive.