diff --git a/demo/index.html b/demo/index.html
index 6eb0e16..22a6b89 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -33,6 +33,15 @@
Remodal
Cancel
OK
+
+
+
Another one window
+
+ Hello!
+
+
+
Hello!
+
@@ -70,8 +79,14 @@ Remodal
console.log('cancel');
});
- var inst = $.remodal.lookup[$('[data-remodal-id=modal]').data('remodal')];
- inst.open();
+ // You can open or close it like this:
+ // var inst = $.remodal.lookup[$('[data-remodal-id=modal]').data('remodal')];
+ // inst.open();
+ // inst.close();
+
+ // Or init in this way:
+ var inst = $('[data-remodal-id=modal2]').remodal();
+ // inst.open();