I am busy writing a custom filing system application for myself. Its an attempt to make my internet browsing a little more structured so that I can find interesting sites I've been to more easily.

For this I have created an Ison Tray Application that stores the information. Its got an explorer like feel with various categories and then the links and files that are related. I have added an Automation object to the application to allow other programs to create new links etc. When the interface is called, a dialog pops up that allows the user to fill in the relevant document details.

My problem is that the pop up dialog is not the top window - so you only see it when you tab to the icon tray application. How do I make the pop up dialog be the top window?