Update: a known limitation is that the firefox process appears to linger around after closing the application, and this can cause system unresponsiveness/crashes over time. I would like to test this by appending a kill clause to the .desktop file, perhaps similar to what @Emma did for the chatty application:
Until then, I’m working around it by periodically checking for and killing stale firefox processes with ps -ef | grep firefox.