Thanks for the help.
I want to open up a modal in which I want to collect user email i.e when users wants to download file from my website. A modal will open and ask user to enter his/her email to download the document. Please let me know is this possible for me to add custom code.