renamed promptPlus to formDialog(...), rewritten alert and prompt using the new functionality, several bugs squashed...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
several more bugs fixed and some tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>