If you want to open the modal when the page is loaded, you can add the openOnLoad property when you render the component and it will be shown without any click