do not use delete_when_idle() to delete a plugin UI because an entirely separate mechanism exists for that