added addwork dialog