Added showalert changes