don't attach the listener if committed, also disable the reset button