ajax-modal triggers on document to keep this feature working after a dom modification