FormSettings: show Discard button only in Debug mode