resource addition in modal dialog