added overlayClass, helperClass and onShow