fix focus problems when showing measures sheet for new layout