Modified app to use a dedicated dialog region to turn any view it displays into a modal dialog