make modal window works in prod