removing alerts from layouts