BZ-1042520 - BZ-1033541: if there is no data to show close the task details panel