code documentation
error log modal used (disabled panel TODO: decide)