Implement CefDialogHandler based on #342

PR based on #342 apply policy before final merge review.