Self-made Modal window with instant image process functions