Removed unnecessary require
Removed duplicate callback in Dialog and Alert