Add modal open event