add vacancy dialog work