Wrap cancel button in "isProduction" conditional