Modal Popup

Finalized the logic for exception handling