fix: do not export geometry if dialog was canceled

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>