generování modalů před patičkou