add alert when select an item