Add alert function for simple showing message dialog, Change parameter of native params to use more simpler argument.