Added emitting of open/close events to modal_id

Simple addition of .trigger methods on open and close. Nothing more, nothing less.