Correctly works with no cancel button.
Merge pull request #3 from k06a/master

No cancel button for cancelButtonTitle == nil

Thanks for this pull request but I'm going to check the cancelButton before its creation instead of before adding it to the view, so resources won't be wasted drawing a button which won't even be shown.