overlay closing fixed.. works as intended