restoring style for the taskItems, and converting the dialog (takes over the page) into a popup (show on top of the page)