add dialog layout