create modal. and consent form functionality