All of my experience is in freshwater, I've never run a saltwater tank before (just started the cycle of my first saltwater tank this morning). I will be very interested to see how this works for you. Normally I would say an under gravel filter and dirt is straight up a non starter, but I'll admit I've never attempted it.
The few times I've done a dirt tank I've also used a much thinner layer of dirt then what you have and wished I had gone even less. Your tank does not look very deep but typically I would recommend 2 to 3 inches of sand ontop of a dirt layer that deep in a freshwater tank. The absolute bare minimum is 1 inch but I have found that inadequate. I hope it works out for you and if it does, will be very interested to see your results!
The few times I've done a dirt tank I've also used a much thinner layer of dirt then what you have and wished I had gone even less. Your tank does not look very deep but typically I would recommend 2 to 3 inches of sand ontop of a dirt layer that deep in a freshwater tank. The absolute bare minimum is 1 inch but I have found that inadequate. I hope it works out for you and if it does, will be very interested to see your results!