finally figured out the modals autoload and inner components mess