Make WallpaperDialog a subclass of BrowseDialog

The implementation of BrowseDialog is reused in WallpaperDialog,
shortening the code in WallpaperDialog and unifying button actions.
Initially select the current wallpaper in WallpaperDialog