Add conditional back button
This refs #5470