Fix flags UI in add subkey dialog