Allowing modal to receive Elements as triggers