[global search script] fix dialog open/close animation