added the repeat views for the dialog