add alert support in gui