Removed duplicate callback in Dialog and Alert
Removed unnecessary require