Fix crashes in assets tab. Files & number pick dialogues.