added failure mode button listeners