Make alert a function.