fixed modal controller