Trigger modal via hash link or CSS class

Would love to see the ability to trigger modals using either one of these two methods:

1) Hash links. Ex: domain.com/#subscribe-popup

2) CSS classes. Ex. Button with the class “.subscribe-popup-trigger”

This would make the modals more accessible outside of Cwicly - such as a link within post content or an ACF field.