How do I get the ash tray to stay closed?
Yep there is a spring loaded tang that you depress to get it out, and it's not there. Also a rod going crosswise in the bracket for it to engage with.
Get/make a wood wedge and slide in the gap down low to keep it shut for now.
What is the year and model of your car? Surprisingly they changed these insignificant things regularly.