Fixed buttons example on Dialog module

Fixed buttons example on Dialog module
Merge pull request #174 from Robert-Frampton/pull-request-18

Fixed buttons example on Dialog module