Allow toaster.clickHandler to be a callback function