fix modal box height evaluation after a first call, fix title encapsulation