initial commit of gallery dialog.