Resolve the activate-promise with the modal element

Meant to provide a way to obtain and manipulate the modal element when it is rendered after its activation.