added custom event listener for noty and modal actions