Bug fix.

Dialog with custom view might not show its buttons when using custom
view #3.