EJ-60: if form is not open just ignore close call