The Add Data button is not working properly

So, when I click the Add Data button, it opens the file dialog box and I am able to load MRIs perfectly. But if I close the file dialog box without loading any MRML or MRI files and then try to open it again the file dialog box just goes full black and nothing is showing. The title bar of that window and the close button is working perfectly fine but it is not showing any files or folders to load. Just a black window. How can I fix it? Thanks for you help.

(P.S This is problem exists in both pre-built slicer and the slicer I built)

I assume you are using Linux? This has seemingly only come up on that platform. It has something that has been noticed and there is hope that switching to a newer Qt version will resolve it. That should hopefully happen soon. For now you can track the progress at: