Added export dialog (ugly) and fixed new slide counter