remove debug lines
Add in dialog frame