Create reusable cancel button check
Create reusable cancel button check