remove some bugs and add new type of messages boxes

remove selection of text when click over buttons, implements new
message boxes like traditional js alerts.