Angular $uibModal global shutdown pop-up box problem

currently in the company project, the angular component $uibModal is referenced. Now there is a business scenario, when you open the modal box, do not operate, every once in a while, the login timeout, automatically jump back to the login page, when logged in, the modal box still exists. Now I intend to check whether it is a modal box when logging in, and close it if there is one. Now I am logging in to controller and injecting $uibModalInstance , but the system reported an error and never understood the reason. The screenshot is as follows:

I wonder if any great god has ever encountered such a situation?

Mar.11,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b228e6-2b61d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b228e6-2b61d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?