Fixed done button position for iPad
Add willDismiss delegate, and change didDismiss method name