Fixed validation in modal window