Bridging Autoencoders and Dynamic Mode Decomposition for Reduced-order Modeling and Control of PDEs