Events added; onClose parameter; New element as modal
fixes & demo page