bugfix: bind correctly to modal aria options
adding dialogClass option for modals