fixes ysod overlay for ajax errors