Fix the fail to close in the admin UI file menu