Program freezes when saving any file

Running latest Ubuntu. When saving text file program freezes and I can’t save or close unless I kill it. Still learning Linux can you guys help me.