[directory] fix focusing name input on error
[directory] fix container around table