Disabling the right bar button when editing to prevent UI from getting into funky state