Don't forget to paste the html codes of modals on the html page you want to use.
You can show with AddtoHome();
javascript code.
You can set the delay to show the modal.
AddtoHome("3000");
This code shows the modal after 3 seconds. Change according to what you want.
Show the modal only once to users.
AddtoHome(3000, "once");
This code shows the modal after 3 seconds.
it works only once, does not disturb users.
Note: you must define the delay, otherwise It will not work.