Implement message dialog workaround