implemented scanning grid settings dialog