HTML Dialog implementations for appjs