I'm developing a typical web application with functions like add, remove, view, search and other yada yada. However, I'm uncertain how much I should rely on dialog boxes. Should I have a dialog box for adding information to the system or perhaps only as a confirmation when deleting something? I could also, for example, use a login dialog box instead of a login page.
Should modern web sites be designed so that they use dialog boxes?
Are there any general guidelines for when to use a dialog box in a web application or is it more "when I feel like it"?