Fixed bug in that popup window on calendar would stay open on a drag.