modified dialog layout