987626: Remove PUTS while opening preferences dialog, fix related test