Make cancel button working using MODI2C, http://redmine.laoslaser.org/boards/3/topics/833