show alert only if message is not blank
show js alert only if message is not blank