custom view for a dialog