Added replace dialog
Removed replace dialog