Added additional check in event handlers to make sure submit button is not enabled is we are not in accepted mode