implemented modal module, which has replaced generic alerts