added frame type to dialog frame
merged