prevent adding empty stammen by opening the ajax file directly

Signed-off-by: Karel Kellner <karel@kellner.be>