Why we don't use Bootstap modal instead? We don't need this in there.