Fixed block bugs, added field select dialog