Added some custom radio buttons to set the "edit" mode.