Removed modal popup and implemented a page refresh instead.