Implementing modal window and client side validation on assets