Allow customizing dismiss popup