must pass closeOnClick or showClose when calling 'create'