No problem. If you want only open loginDialog once init page is loaded, you have to create event and action for that.
Lets assume:
- init page has content with name “ContentInit”
- your dialog ID is “LoginDialog”
then use clientSystem event ContentLoaded and check in condiction that your “ContentInit” was loaded and then call action OpenDialog