Simple modal creation with javascript