calcAlert box edits

Added html edit to calcAlert box
Added open alert on success rather than toggle
Added close alert on fail
Added clear text on fail