I have been searching online and I cannot find out a way to do this.
The way it's so easy to 'undock' the tabs in Firefox is really frustrating (I am using a drawing tablet and for whatever reason it is very easy to undock tabs using this tool). Is there a way to disable the 'undocking' feature?