b2g alert fixes