Fixed encounter window being continuously open if originally selected from dashboard and opening up another patient chart.