Extend documentation for data-options and javascript options object

Add full example showing how to use data-options
Add several variations on using the event options open, opened, close,
closed.