Allow setMessage on dialog.
Prevent dialog from getting stuck in infinite loading state when content failed to load.