Added a dialog when updating a status.
Allow the DialogViewer to accept any layout rather than having a hardcoded one.