Can I create a popup window without clicking link/button needed by user?

My case is to display error message in a popup window, which should be displayed when a interface is opened. I know there is a confirm option in buttonWidget and link but they are not applicable for my case.

Can any help on this?

Thanks in advance. 

  Discussion posts and replies are publicly visible