This only happens some of the times to me. The transactions does its processing animation but never ends. I usually go to the right panel and open engineers to reset the station menu, then keep using the material trader again, usually with no more issues. Might be because the server or client lost a package or something during communication and is waiting for something that will never come.