Brave is opening in separate window in linux and unable to set it as default browser

when i open brave latest nightly build it is opening as a separate window as in the picture and

no matter how many times i click on make it default button it`s not becoming as default browser I am using brave 1.12.72