fixed modal preview and messaging