Modals
<SuccessModal ref={successModal} onClosed={() => alert("Closed success modal")} />
<ErrorModal ref={errorModal} onClosed={() => alert("Closed error modal")} />
<ConfirmModal ref={confirmModal} onNo={() => alert("No")} onYes={onYes} />
<Modal open={open} setOpen={setOpen}>Content here</Modal>